package com.java.hotpotserver.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.java.hotpotserver.entity.Finishedorder;
import com.java.hotpotserver.vo.*;

import java.time.LocalDate;
import java.util.List;

public interface IFinishedorderService extends IService<Finishedorder> {
    public IPage<Finishedorder> finishedOrderList(String phonenumber, int pagenum, int pagesize);
    public int comment(int finishedorderid,int comment);

    public int addFinishedorder(int tableid,String phonenumber,int money);

    public List<Finishedorder> allFinishedOrderList( );

    public FinishedorderList detailFinishedOrder(int finishedorderid);

    public boolean findAnother(LocalDate localDate,String s);

    public List<MonthSale> findMonthSale();

    public List<WeekSale>  findWeekSale();

    public List<YearSale> findYearSale();

    public List<Triple> hotMap();

    public void lowerRank();
}
